package com.gxa.employment.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author author
 * @since 2025-03-26
 */
@Getter
@Setter
@ToString
@TableName("v_ent_staff_job")
public class EntStaffJobVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 企业ID
     */
    @TableField("ent_id")
    private Integer entId;

    /**
     * 企业名称
     */
    @TableField("ent_name")
    private String entName;

    /**
     * 企业地址
     */
    @TableField("ent_addr")
    private String entAddr;

    /**
     * 企业电话
     */
    @TableField("ent_phone")
    private String entPhone;

    /**
     * 岗位名称
     */
    @TableField("job_title")
    private String jobTitle;

    /**
     * 薪资范围
     */
    @TableField("job_minsalary")
    private String jobMinsalary;

    @TableField("job_maxsalary")
    private String jobMaxsalary;

    /**
     * 是否合作企业
     */
    @TableField("ent_partner")
    private Boolean entPartner;

    /**
     * 员工ID
     */
    @TableField("staff_id")
    private Integer staffId;

    /**
     * 姓名
     */
    @TableField("staff_name")
    private String staffName;

    /**
     * 逻辑删除标识
     */
    @TableField("deleted")
    private Boolean deleted;

    /**
     * 创建时间
     */
    @TableField("created")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime created;

    /**
     * 更新时间
     */
    @TableField("updated")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime updated;
}
